﻿package org.flixel.system
{
    import org.flixel.*;

    public class FlxList extends Object
    {
        public var object:FlxObject;
        public var next:FlxList;

        public function FlxList()
        {
            this.object = null;
            this.next = null;
            return;
        }// end function

        public function destroy() : void
        {
            this.object = null;
            if (this.next != null)
            {
                this.next.destroy();
            }
            this.next = null;
            return;
        }// end function

    }
}
